package analyser;

import javax.annotation.Resource;

import org.springframework.stereotype.Component;

import collector.Collector;

@Component
public class FactorAnalyser implements Analyser{
	@Resource(name="usbCollector")
	private Collector collector;
	
	public void setCollector(Collector collector) {
		this.collector = collector;
	}


	@Override
	public void analyse() {
		collector.collect();
		System.out.println("factor analysing...");
	}

}
